package com.qianfeng.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class IndexController {
    @RequestMapping("/page")
    public String show(Model model) {
    	model.addAttribute("name","千锋教育..");
		return "show";  //这个show是全局配置文件夹中的show.ftl
    	
    }
}
